package com.itheima.ydd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
public class YddCate {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String catename;

    //字段图标class
    private String icon;

    //排序数字
    @JsonProperty("sort_num")
    private Integer sortNum;

    //是否为默认数据null为不是，1表示是
    private String defaultData;
}
